home *** CD-ROM | disk | FTP | other *** search
- NOTE: "-" preceding file name means new or modified since last SNIPPETS
-
- File Author Description
- -------------- -------------- ----------------------------------------------
- -Snippets.Ndx SNIPPETS index - this file
- Make.Ini Jim Nutt Master file for NDMAKE
- -Ansiscrn.H Macros for ANSI.SYS screen control
- Cast.H Bob Stout Cast any object to any type
- -Dow.H Paul Schlyter Day-of-week macro
- -Hilobyte.H Extract high, low bytes from an int
- -Portable.H Scott Ladd Write portable code for various PC compilers
- Round.H Dave Knapp Rounding macros
- Scrnmacs.H Jerry Houston Macros for direct video work
- C_Lines.Awk Dan Kozak AWK program to count lines of C code
- 8087_Sav.Asm Jeffrey Nonken Saves/restores 80x87 environment
- Coldboot.Asm David Nugent Reliable cold/warm boot
- Cpucheck.Asm Determine type of CPU in use
- -Hires.Asm Switch to 43/50 line mode on EGA/VGA
- Ndpcheck.Asm Determine presence of coprocessor
- -Readisk.Asm Bob Stout Read absolute disk sectors
- -A2E.C Bob Stout ASCII <=> EBCDIC conversions
- Addhndls.C Doug Burger Allow more than 20 open files under DOS 3+
- Bob Jarvis
- -Ansiflen.C Bob Jarvis ANSI-compliant file size function
- Ansiload.C Bob Jarvis Detect ANSI.SYS
- -Ansiself.C Thad Smith Self-replicating program in ANSI C
- Ansisys.C Detect ANSI.SYS
- Approx.C John Rex Fuzzy string search
- Assignpr.C Bob Stout Multiple printer support
- -Atr2Ansi.C Bob Stout Build ANSI.SYS command string, given attribute
- -Bascnvrt.C Bob Stout Convert radix of a numeric string
- -Bastrngs.C Bob Stout BASIC-like string functions
- Biport.C Bob Stout Port Borland code using pseudovariables
- Bitarray.C Bit array functions
- Bitcnt_1.C Ratko Tomic Count bits in a number (fast, clever)
- Bitcnt_2.C Count bits in a number (fascinating)
- -Bitfiles.C Aare Tali Bit I/O for buffered (fopen'ed) files
- Bitops.C Bob Stout Small bit array macros
- Changprn.C Bob Stout Change the standard printer device
- Checkexe.C Bob Jarvis Checksum protection for executable files
- -Chgext.C Bob Stout Change/add a file name extension
- -Clock.C Jon Guthrie On-screen clock generator
- -Combin.C Thad Smith III Compute combinations without overflow
- -Commafmt.C Bob Stout Add thousands separators to numeric strings
- Crc-16c Calculated 16-bit CRC
- Crc-16F.C Fast 16-bit CRC
- Crc_32.C Gary S. Brown Table lookup 32-bit CRC
- Crypt.C Bob Stout S-Coder data encryption from DDJ
- -Ctrlprnt.C Bob Stout Print a line, displaying Ctrl characters
- Cursor1.C Bill Wilkie Cursor management/manipulation
- Cursor2.C Gary Chambers Hide/unhide cursor
- Daylen.C Paul Schlyter Computes length of day at any place on Earth
- Dd_Struc.C Wayne Hamilton TC/TC++/BC++ DOS file time/date macros
- Descrypt.C DES encryption/decryption
- Doscopy.C Peter Yard Copy a file
- -Drvalid.C Bob Stout Benignly validate disk drives
- -Dspdtst.C I/O benchmark - MSC/TC/ZTC/Watcom
- Editgets.C Paul Roub Get an input string with editing functions
- -Eval.C Bob Stout Simple arithmetic expression evaluator
- -Favail.C Bob Stout How many more files may be fopen'ed?
- Fcopy.C Bob Jarvis Copy a file
- -Ferrorf.C Mark Devlin Formatted error messages
- -Figets.C Jan Vroonhof Like fgets, except reads backwards
- -Fmtmoney.C Bob Stout Format US dollar amounts into text strings
- -Fndislot.C Bob Stout Locate an unused user interrupt vector
- Fscanbin.C Ray Gardner Scan binary fields via format string
- Fsm.C Demonstrates a finite state machine
- -Getdcwd.C Bob Jarvis Get current working directory for given drive
- Get_Dirs.C Mike Gillen Build a linked list of directories
- -Getkey.C Bob Stout Get extended key codes
- Getopt3.C AT&T compatible getopt(3)
- Getopts.C Paul Edwards Scan command line for switches
- Getseg.C Bob Stout Get segment and offset of any object
- Getstrng.C Ron Sires Safe gets() for input string of unknown length
- Glbl_Env.C Peter Thomas Update & remove global environment variables
- -Grafline.C David Harmon Demo of PC line drawing characters
- Howdy.C Obfuscated C code
- -Hstr_I.C Bob Stout Convert hex string to int
- -Hugeread.C Bob Stout Read & write huge data using far pointers
- -Hugesort.C Ray Gardner Quicksort using huge pointers
- Initvars.C Ray Gardner Read data into variables
- -Isfile.C Bob Jarvis Is a file handle associated with a file?
- -Isfopen.C Bob Stout Is a FILE * in use?
- Ispow2.C Is a number an integral power of 2?
- Isqrt.C Integer square root
- -Isshift.C Jeff Dunlop Determine if a shift key is pressed
- Jdn.C Paul Schlyter Julian Day Number computation
- Ray Gardner
- Joystick.C Bob Stout Joystick support functions
- Kb_Data.C Dan Kozak Keyboard status determination
- Keylocks.C Caps/Num lock set/clear functions
- -Keywatch.C Robert Mashlan Demonstrates capturing keyboard interrupt
- Lasort.C Paul Edwards Distribution counting sort rediscovered
- Lbitops.C Scott Dudley Large bit array macros
- Ldfloor.C Ray Gardner Long double floor
- -Ll_Msort.C Ray Gardner Linked list mergesort
- Ll_Qsort.C Jon Guthrie Linked list quicksort
- Ltoa.C Bob Stout Convert long to a string
- Ltostr.C Thad Smith III Convert long to a string
- -Lv1Ws.C Bob Stout Convert whitespace strings to single spaces
- Mainmain.C Obfuscated C code
- Mcb_Env.C Modify master environment using MCB's
- Mdalloc.C Blair Haukedal Multi-dimentional array alloction
- Memlist.C Nigel Cort List TSR's by name
- -Memrev.C Ray Gardner Assymetrical memory swap
- Mouse1.C Doug Boone MS Mouse functions
- -Mouse2.C Rob de Voer MS Mouse functions
- -Mouse3.C Bob Jarvis MS Mouse functions
- -Mouse4.C Uwe E. Schirm MS Mouse functions
- Msc_Peek.C Bob Stout Add peek/poke to MSC
- Noctrl.C Traps Ctrl-C, Ctrl-Break, Ctrl-Alt-Del
- Noreset.C Traps Ctrl-Alt-Del
- -Ord_Text.C Bob Stout Format ordinal numbers in English
- -Pbmsrch.C Jerry Coffin Pratt-Boyer-Moore string search
- -Pcnvrt.C Bob Stout Convert Pascal strings to C
- Perm_Idx.C Thad Smith III Determine permutation index
- -Pfopen.C David Engel Open a file anywhere
- Pluraltx.C Bob Stout How to print proper plurals
- -Prtoggle.C Bob Stout Tee stdio to stdprn
- -Prtscrn.C Bob Stout Invoke BIOS print screen function
- -Prtstat.C Bob Stout Determine printer status
- -Pushdir.C Bob Stout Stack-oriented CHDIR functions
- Qbsort.C Optimized bubble sort
- Rand1.C Phil Linttell Random number generator
- Rand2.C E. Schneider Random number generator
- Rand3.C Random number generator
- Ratko.C Ratko Tomic 5 x 8 Sieve benchmark
- Rays.C Daniel Lyke Ray tracing functions
- Redir.C F. Piette Demonstrates output redirection
- Regex.C Orv Stoll Regular expression (subset) pattern matching
- Rg_Qsort.C1 Ray Gardner Non-Recursive ANSI quicksort function
- -Rg_Qsort.C2 Ray Gardner Recursive ANSI quicksort function
- -Rg_Rand.C Ray Gardner Minimal random number generator
- Rg_Ssort.C Ray Gardner ANSI quicksort-compatible shellsort function
- -Rmallws.C Bob Stout Remove all whitespace from a string
- -Rmlead.C Bob Stout Remove leading whitespace from a string
- -Rmtrail.C Bob Stout Remove trailing whitespace from a string
- Rndmize.C How to seed ANSI random number generator
- Scanfrac.C Thad Smith III Scans/converts text fractions
- -Scrnsave.C Jeff Dunlop Save and restore text screens
- Scrnsize.C Bob Jarvis Get screen size
- -Setenvar.C Bob Stout Set DOS master environment *legally*
- -Shel2Dos.C Bob Stout Shell to DOS from a running program
- Showdate.C TC/TC++/BC++ display file date
- Soundex.C Bob Jarvis Standard English soundex
- Speed.C Benchmark to calculate I/O performance
- -Sstrcpy.C Ray Gardner Overlapping strcpy() & strcat() work-alikes
- Stats.C Bob Stout Analyze file statistics
- -Stptok.C Ray Gardner Improved tokenizing function
- Strftime.C Jim Nutt Non-locale version of ANSI strftime()
- Rob Duff
- -Strrepl.C Gilles Kohl Replace substrings
- Strrev.C Bob Stout Reverse a string in place using XOR swapping
- Strsort.C Ray Gardner (Shell) Sort a string array
- Strucfil.C Lynn Nash Read/write structures to/from a file
- Style.C Suggested coding style guidelines
- -Timegetc.C Bob Jarvis Wait specified time for a keypress
- Toascii.C EBCDIC-ASCII conversion arrays
- -Tp6Tod.C Thad Smith III Convert TP 6-byte reals to C doubles
- -Truename.C gk Normalize filename using undocumented DOS
- -Unix2Dos.C Bob Stout Convert Unix-style pathnames to DOS-style
- Video_1.C Jim Nutt Setup video operations
- -Video_2.C Jeff Dunlop C video information functions
- Wb_Fcopy.C Walter Bright Fast file copy/append
- Weird.C Obfuscated C code
- Windchil.C Compute wind chill factor
- Wordwrap.C Robert Morgan Simple CRT word wrap demonstration
- Xstrcat.C String concatenation functions
- Liteclas.Cpp C++ wrapper for LITECOMM
-
- --------------- FAQ file (answers to Frequently Asked Questions --------------
-
- Storage.Typ Jeff Galbraith Storage types crib sheet
- -Rtfltrul.Txt Deciphering C declarations crib sheet
- -Ptr_Help.Txt Ted Jensen Help with C pointers
- C_Port.Txt Joseph Carnage Portability guidelines
- Enums.Txt Bob Stout Some tricks using enumerated data types
- -Which_C.Txt Bob Stout Comparison of some PC C compilers
- Environ.Txt Bob Stout Information of environment variable setting
- Sharing.Txt Mike Ratledge How to check if file sharing is active
- Evsavres.Txt How to blank/restore EGA/VGA screen
-
- --------------- Jim Nutt's direct video functions ----------------------------
-
- Vio.H Direct screen package
- -Vio.Asm " " "
-
- --------------- Bob Stout's Int 2Eh functions --------------------------------
-
- Int2E.Asm Access command processor "back door"
- Ccomcall.C C "glue" to use Int 2Eh
-
- --------------- Bob Stout's POSIX compliant directory functions --------------
-
- Dirent.H POSIX compliant header
- Rfind1St.C Compiler-independent find first/next functions
- Posixdir.C opendir(), readdir(), seekdir(), closedir()
- Posix_Ls.C Directory lister demo
-
- --------------- Bob Stout/Sreenath Chary file name processing functions ------
-
- Dirmask.C Bob Stout Complex pattern matching (calls patmat())
- Patmat.C Sreenath Chary String pattern matching
- Fln_Fix.C Bob Stout Crunch dot directories, verify DOS-valid paths
- Flnorm.C Bob Stout Full file name normalization
-
- --------------- Michael Rendell's POSIX compliant directory functions --------
-
- Msd_Dir.H POSIX compliant header
- Msd_Dir.C POSIX compliant directory functions
-
- --------------- Bob Stout/Lynn Lively/David Fox sound & timing package -------
-
- Uclock.H David L. Fox Microsecond timing function header
- Uclock.C " " " Microsecond resolution timing functions
- Sound.H Bob Stout Sound functions header
- Sound.C " " Speaker control functions
- Mktone.C " " Tone generation functions
- Playlib.C Lynn R. Lively Background music package
- Playdemo.C Bob Stout Demo of backgroud music package
-
- --------------- Greg Messer's C/C++ comment extractor ------------------------
-
- Getcmt.C Greg Messer Extract comments from C/C++ source files
- Testcmt.C " " Test file for above
-
- --------------- Scott Ladd's file search functions ---------------------------
-
- Filesrch.H Header for Filesrch.C
- Filesrch.C Search for matching files w/ prompting
-
- --------------- Ray Gardner's scalar date function with calendar demo --------
-
- Scaldate.C Ray Gardner Scalar ("Julian") date functions
- Cal.C Bob Stout Calendar using Scaldate.C
- -Daynum.C Bob Stout Return statistics about a given date
-
- --------------- Martin Maney's FOSSIL access functions -----------------------
-
- Fossil.H C header w/ prototype declarations
- Fossil.C C access functions
- Fossil.Asm MASM low-level functions
-
- --------------- Ruurd Pels's FOSSIL access functions -------------------------
-
- -X00Api.H C header w/ prototype declarations
- -X00Api.C C access functions
-
- --------------- Robert Mashlan's PRINT.COM interface functions ---------------
-
- -Prnspool.H C header w/ prototype declarations
- -Prnspool.C PRINT.COM spool queue functions
- -Printq.C Demo program for above
-
- --------------- Robert Mashlan's memory allocation strategy functions --------
-
- -Strat.H C header w/ prototypes and enum'ed constants
- -Strat.C C functions
-
- --------------- Jerry Coffin's word wrapping functions -----------------------
-
- -W_Wrap.H C header w/ prototypes and enum'ed constants
- -W_Wrap.C C functions
-
- --------------- Bob Stout's absolute sector read/write functions -------------
-
- -Dos5Boot.H Header for boot sector access
- -Absdiskc.C C read and write functions
- -Absdisk.Asm Low-level code for disk I/O, DOS 2-5
-
- --------------- Ray McVay's mouse functions ----------------------------------
-
- -Mouse.C Essential mouse stuff
- -Scrnpick.C Demo, retrieves text from screen using mouse
-
- --------------- Jeff Dunlop's diagnostic malloc/calloc/free functions --------
-
- -Jmalloc.H Include file for using allocation diagnostics
- -Jmalloc.C Allocation diagnostic functions
-
- --------------- DOS utilities as demos ---------------------------------------
-
- A2B.C Paul Rutter Filter ASCII to bytes
- Joe Orost
- B2A.C Paul Rutter Filter bytes to ASCII
- Joe Orost
- Bigfac.C Carl Declerck Do large factorials using ASCII multiply
- Bordcolr.C Bob Jarvis Set border color
- -C_Cmnt.C Thad Smith Extract comments from a C source file
- Cdir.C Lynn R. Lively Like DOS CHDIR except changes drives as well
- Chbytes.C Bob Stout Edit binary files in place
- Chmod.C Bob Stout Change DOS file attributes - wildcards, etc.
- -Do.C Specify multiple command line commands
- Dossort.C Robert Mashlan DOS SORT work-alike
- -Drivsrch.C Marty Connely Search for physical/logical drives
- Dspclock.C Mike Jones On-screen TSR clock
- Factor.C Ray Gardner Print prime factorization of a number (double)
- -Filcount.C Bob Stout Count files/directories
- -Getvol.C Bob Stout Retrieve a disk volume label
- Grep.C DECUS Full featured grep
- Bob Jarvis
- Head.C Unix head work-alike
- Ifactor.C Ray Gardner Print prime factorization of a number (long)
- Issue.C J.C. Weilandt DOS wildcarding for external executables
- Kbflip.C Bob Stout Set/clear Caps/Num/Scroll locks
- -Killff.C Jerry Gore Strip FF characters from text files
- Erik VanRiper
- Lsd.C Bob Stout DOS DIR enhanced work-alike
- Lzhuf.C Yoshi Compression used in LHARC & LHA
- Maze_1.C Jon Guthrie Maze generator
- Maze_2.C Obfuscated maze generator
- Morse.C Mike Dodd Convert strings to morse code
- Palndrom.C Dan Hoey Self-replicating palindrome - try it!
- Permute1.C Dave Chapman Permute strings
- Permute2.C Jon Guthrie Permute strings
- Pi.C Calculate PI to 60,000 digits or more
- Popdial.C Pop-up communications
- Query.C Bob Stout Timed query w/default for batch files
- Rdxcnvrt.C Bob Stout Convert between number bases
- Rm_All.C Bob Stout Remove all files - now supports recursion
- Setlevel.C Lynn R. Lively Allow user input into a .BAT file
- -Setvol.C Bob Stout Set, change, or kill a disk volume label
- -Stub.C Bob Stout Truncate .OBJ (and other) files
- Tail.C Joe Huffman Print last n (default = 5) lines of a file
- Touch.C Ray L. McVay TC/TC++/BC++ set file time/date stamp
- -Treedir.C Bob Stout Recursive directory lister
- -Uuencode.C Don Kneller Unix uuencode
- Uudecode.C John Lots Unix uudecode
- -Wc.C Jay Elkes Like Unix wc, counts lines, words, chars
- Where.C Search for a file
-